• Day, Month, Date and Year

    Updated: 2013-01-31 10:57:05
    Hi Guy's, Newbie here. I'm wondering if someone can help me. I'm trying to output the Day, Month, Date and Year but I'm getting into a spot of bother. I think I'm close, but just need to nail this one last part. My script is this. Code: --------- function addDaysToDate(days) { var...

  • CSS image help

    Updated: 2013-01-31 10:52:40
    Hi I have a image at the top of my page and is in the right place on my 1024 x 768 screen but when looking at it on my second screen which is a 1280 x 768 I think, it appears off the page, how do I set it so it appears in the same place on both screen sizes The css I got for it is below ...

  • Javascript validation not working on radio buttons

    Updated: 2013-01-31 10:49:03
    Hi, I am trying to validate my form in JavaScript but can't get the radio buttons or date filed validated?! Please help HTML Code: ---------

  • jQuery jQuery Fade

    Updated: 2013-01-31 09:38:47
    Index.php Code: --------- Industrial Cleaning Agricultural Streets

  • XAMPP and Email

    Updated: 2013-01-31 09:32:39
    Hey, Just wondering if I have a domain pointing to my machine, and have that machine running XAMPP with Mercury enabled, can I receive and send emails with it. If yes, how would I go about doing this Thanks, BenJW

  • not sure how to convert from MySQL to MySQLi

    Updated: 2013-01-31 09:10:10
    I have started to convert my site which uses MySQL so it will use MySQLi but having a few problems.. I have the connection file... Code: --------- /* DATABASE ROUTINES */ function dbConnect() { $dbhost = 'localhost';

  • Auto Scrolling Text Box Problem

    Updated: 2013-01-31 09:10:02
    Morning Guys, I was wondering if someone could help me. I'm using a simple code to create a scrolling text box: As you can see, it is very simple but does the job. ...

  • How to show column B value based on column A value

    Updated: 2013-01-31 08:42:09
    Hi, I need to create a form, with 2 columns (A & B). By default, column A will show all vendors in a drop-down box and only upon user selection, then the list of products that belong to that vendor will appear in column B drop-down box for user to select. - Column A contains vendor's name (eg....

  • is MySQL also being deprecated or just the MySQL Library ?

    Updated: 2013-01-31 08:14:01
    I see in the footnote of a reply I had about MySQL Library being deprecated. As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer:...

  • help with referral tracking code

    Updated: 2013-01-31 06:03:46
    Hey guys, I'm slowly trying to learn some php, I can mostly just follow along tutorials, as I haven't been able to memorize a lot of the rules and things yet. I'd like to have a way for people to refer other people to fill out this form on my site. Basically how I plan for it to work, is a...

  • C# vs Java vs Python

    Updated: 2013-01-31 05:18:29
    So I'm a new user here, so sorry if this is in the wrong area. I currently know HTML, and CSS. I've been working with a little Javascript, and was working with Java and Python in the past(forgot Java and Python mostly). I thought I was going too get into HTML5 game development, but I honestly hate...

  • Auto generate a the thumbnail page

    Updated: 2013-01-31 04:47:38
    I have kind of a weird request. I have a web site for a client that wants to list about 10k links to images. However, I am looking for an efficient way to write a script hopefully to auto create all these pages with the associated images. Put simply, a script to auto generate the thumbnail page....

  • Text color problem

    Updated: 2013-01-31 04:37:00
    How do I change the text color for the nav menu item "Buy Pixels" with CSS? I can't seem to figure it out. http://www.pixelitforward.com Color: #0092C4

  • CSS of Portfolio on Wordpress Not Showing Up Right.

    Updated: 2013-01-31 03:40:52
    Hi everyone. I have a pretty simple problem to fix I think. I have a portfolio on my wordpress page and it is handled by a custom portfolio type called vertical scroll. Here is the link (http://bradchristopher.com/portfolio/country/). Part of all of the pictures on the right side are getting...

  • cant connect php to database

    Updated: 2013-01-31 03:08:50
    Hi all! I would like to ask for help. i have a code that i got from youtube. my problem is i cant connect to my database and i dont know why. i dont think that i have a problem in my code. i have 2 php file. reg.php for the connection and demo-form.php for adding the record. *demo-form.php* ...

  • Create an Animated Timeline with jQuery

    Updated: 2013-01-30 08:30:35
    I’ve been meaning to write about this plugin for some time but never got around to it until now! This great plugin written by csslab.cl helps you beautifully present timelines and has support for both horizontal and vertical layouts. jQuery … Continue reading

  • Processing.js Frame Animation Queue

    Updated: 2013-01-30 00:51:32
    M att S nider.com RSS Tutorials Widgets Styleguide About Edit Processing.js Frame Animation Queue A couple weeks ago , I mentioned that I was using Processing.js to animate a visualization tool for work . Today’s article showcases the class-based strategy we used to handle animation . frames There is a simple Demo available , if you would like to see Processing.js in . action Getting ready To start using processing , you will need three things : the latest Processing.js code , a canvas element on an HTML page with the data-processing-sources attribute set , and a pde file for your processing code . Here is a sample : HTML How do it In the pde file , define the animation base : class function AnimationFrameClass AnimationFrameClass.prototype data : null , optional data for internal use of

  • Getting started with Responsive and Adaptive layouts

    Updated: 2013-01-28 08:30:36
    There is no one-size-fits-all approach. Each project has its own focus, requirements and audience. This article will hopefully help you make the best decision for your project by outlining the advantages and disadvantages of each solution. Jeffrey Veen said: “Day … Continue reading

  • Particle Animation with Javascript and Canvas

    Updated: 2013-01-25 08:30:57
    Here’s a great example of particle animation using the HTML5 canvas. It’s important to note this uses the 2D canvas instead of using the cool but not widely supported WebGL 3D context. checkout the demo. In the demo you’ll notice … Continue reading

  • WordPress 3.5.1 Maintenance and Security Release

    Updated: 2013-01-24 22:23:03
    WordPress 3.5.1 is now available. Version 3.5.1 is the first maintenance release of 3.5, fixing 37 bugs. It is also a security release for all previous WordPress versions. For a full list of changes, consult the list of tickets and the changelog, which include: Editor: Prevent certain HTML elements from being unexpectedly removed or modified in rare [...]

  • Django Template Tags for JavaScript Deferment

    Updated: 2013-01-24 02:45:26
    M att S nider.com RSS Tutorials Widgets Styleguide About Edit Django Template Tags for JavaScript Deferment I have been slowly working to improve my Django Shared project , which I use as the basis for all my Django projects . Recently , I added several new templatetags for deferring content and scripts : async_script defer_html defer_script and render_deferred_html Today’s article will cover how to use these templatetags in your own . projects Getting ready You will need to include django-shared in your own project , or extract the parts from templatetags common.py If you use pip , here is the easiest way to include django-shared pip install git+https : github.com mattsnider django-shared.git How do it The async_script template tag is a drop-in replacement for the static template : tag

  • Prototype iPhone apps with Javascript and HTML

    Updated: 2013-01-23 08:30:13
    Ratchet is a great way of prototyping iPhone apps and has a whole host of functionality. It also takes advantage of Push.js which when connecting your pages allows you to create a prototype that feels like a real app when … Continue reading

  • Awesome Dashboard Gauges with Javascript

    Updated: 2013-01-21 08:30:54
    Data visualisation techniques are ever evolving, and I’d like to share a cool plugin I’ve been using for a while now, It’s based on the Raphaël library for vector drawing so it’s completely scalable and self-adjusting. You can track it … Continue reading

  • Query Parameter Parsing Function

    Updated: 2013-01-17 19:38:32
    M att S nider.com RSS Tutorials Widgets Styleguide About Edit Query Parameter Parsing Function I needed a straight ie . no framework JavaScript function for parsing query parameters the other day and found one on stack overflow that I liked . Most functions that lookup query parameters , search the url string each time it performs a key lookup . However , the query parameters never change once your JavaScript code starts to run , so it is inefficient and unnecessary to search the query parameters string on each lookup . The lookup function in this article converts the query parameters in to a JavaScript object , so the parameters need only be parsed . once That said , sometimes developers store query parameter like strings in cookies , the DOM , the URL hash , etc . so you might want to

  • Styleguide Preview for MattSnider.com

    Updated: 2013-01-13 08:14:03
    M att S nider.com RSS Tutorials Widgets Styleguide About Edit Styleguide Preview for MattSnider.com Unfortunately , I did not have time to finish a blog article this week . I was busy creating a CSS Styleguide and doing visualizations in Processing.js for my day job . I plan to write about Processing in the future , but I don’ have a topic ready yet . However , the Styleguide work inspired me to begin one for MattSnider.com , to help me as I write articles and develop the site . So , let me give you a sneak . preview Styleguide for MattSnider.com You may have already noticed that the styles around the sight have changed a bit , as I unify and normalize . I was surprised to realize how often I was overriding a style in one stylesheet , only to revert it to the initial style again later .

Current Feed Items | Previous Months Items

Dec 2012 | Nov 2012 | Oct 2012 | Sep 2012 | Aug 2012 | Jul 2012